package com.example.t1p3;

public class AdapterHelper {
	
	public int number = 0;
	public String name = "";
	public String lastName = "";

	public AdapterHelper(String _name, String _lastName, int _number)
	{
		number = _number;
		name = _name;
		lastName = _lastName;
	}
	
	public String toString()
	{
		String result = name;
		if(lastName != "")
			result += " " + lastName + "   " + number;
		if(name.equals("none") && number == 0)
			result = "none";
		return result;
	}
}